import request from '@/utils/request';

export async function getStandProductProcessInfoByPage (params: any) {
    return request('/api/design/getStandProductProcessInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addStandProductProcessInfo (params: any) {
    return request('/api/design/addStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateStandProductProcessInfo (params: any) {
    return request('/api/design/updateStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delStandProductProcessInfo (params: any) {
    return request('/api/design/delStandProductProcessInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportStandProductProcessInfo(params: any) {
    return request('/api/design/exportStandProductProcessInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getStandProductProcessInfoByPage, addStandProductProcessInfo, updateStandProductProcessInfo, delStandProductProcessInfo, exportStandProductProcessInfo }
